<#assign fandPagePath =
'/default/admin/configuration/language/language/new'>
<!DOCTYPE html>
<html lang="zh-CN">
<head><#include "../../../../head_.html">
</head>
<body class="easyui-layout">
	<div data-options="region:'center'" style="padding: 8px 0px 8px 0px;">
		<form
			action="${(fand.webContextUrl)!}/admin/configuration/language/language/save.txt"
			method="post" class="uk-form uk-container-center uk-width-9-10">
			<fieldset>
				<legend>基本数据</legend>
				<div class="uk-grid">
					<label class="uk-width-1-6 uk-text-right" for="language.code">编号：</label>
					<div class="uk-width-2-6">
						<input type="text" name="language.code" id="language.code"
							class="uk-width-4-5 easyui-validatebox" placeholder="请输入编号…"
							data-options="required:true" maxlength="128">
					</div>
				</div>
				<#list localeList as localeRow>
				<div class="uk-grid">
					<label class="uk-width-1-6 uk-text-right"
						for="language.contentMap[${(localeRow.code)!'zh_CN'}]">${(localeRow.name)!}(${(localeRow.code)!})：</label>
					<div class="uk-width-5-6">
						<textarea class="uk-width-1-1"
							name="language.contentMap[${(localeRow.code)!'zh_CN'}]"
							id="language.contentMap[${(localeRow.code)!'zh_CN'}]" placeholder="请输入内容…"
							maxlength="128" style="height: 60px;">${(language.contentMap[localeRow.code])!(language.content)!}</textarea>
					</div>
				</div>
				</#list>
			</fieldset>
		</form>
	</div>
	<div data-options="region:'south',border:false"
		style="text-align: right;; padding: 5px 5px 0px 0px; height: 40px;">
		<a class="uk-button" href="#back"><i class="uk-icon-level-up"></i>
			返回</a> <a class="uk-button uk-button-success" href="#reset"><i
			class="uk-icon-reply"></i> 重置</a> <a class="uk-button uk-button-primary"
			href="#ok"><i class="uk-icon-ok-circle"></i> 确定</a>
	</div>
</body>
</html>